import json
import os

import coverage
import pytest

if __name__ == "__main__":
    # cov = coverage.coverage(source = ['./common/common_function.py',"./common/handle_mysql.py","./common/handler_case.py","./common/log.py","./common/send_request.py"])
    # cov.start()
    # # coding
    # cov.stop()
    # cov.report()
    # cov.html_report(directory = './test/covhtml')
    pytest.main(["-vs"])
    os.system('allure generate ./temp -o ./reports --clean')
